package com.gjs.common.pojo.dto.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@ApiModel("资源类型传输对象")
@NoArgsConstructor
@AllArgsConstructor
public class TypeDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("类型索引")
    private Long key;

    @ApiModelProperty("类型文案")
    private String text;
}
